package com.example.school.service;

import com.example.school.dto.*;
import com.example.school.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.school.utils.common.result.Result;

/**
* @author 24354
* @description 针对表【admin】的数据库操作Service
* @createDate 2024-03-16 19:11:53
*/
public interface AdminService extends IService<Admin> {

    Result adminLogin(AdminLoginDto dto);

    Result saveAdmin(SaveAdminDto dto);

    Result updateAdmin(AdminUpdateDto dto);

    Result getAdminList(AdminGetListDto dto);
}
